/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package slsBeans;

import EL.*;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author Tian
 */
@Remote
public interface AccountBLORemote {

    List<Accounts> getAll();

    Accounts getByID(int id);

    Accounts getByName(String name);

    Accounts add(Contacts contact, Accounts account);

    boolean edit(Accounts acc);

    boolean delete(int id);

    Accounts checkLogin(String username, String password);

    Contacts getContByID(int id);
    
}
